// 在这个文件内书写所有的封装函数

// 导入 axios 的实例
import http from '../utils/http'

export const getCartList = (userid: string) => http.post('/cart/list', { userid })

export const addCartHadnler = (userid: string, proid: string, num: number) => http.post('/cart/add', { userid, proid, num })
